setType
( class in module jsPlumbUIComponent
)
This function sets a type
for the given component. It replaces all existing types. For a full discussion of the concept
of types, see the jsPlumb documentation.
typeId – {string} –
Id of the type to set.
Optional – {object} –
parameter object to expand (see description)
doNotRepaint – {boolean} –
Defaults to false; tells jsPlumb not to repaint after setting the type.